Bayes Theorem
Used to update the conditional probability, which is the probability of an event occurring given that another event has happened, with new information.
Conditional probability is calculated as the joint probability of A and B over probability of B.
Bayes' Theorem is the following, which is just the joint probability rule for dependent events.
An example. If the probability of testing for a disease is 99% accurate, meaning if you have the disease you would be tested positive 99% of the time, and if you don't have the disease you would be tested negative 99% of the time. And 1% of the population has the disease, what is the chance of having the disease if you were tested positive.
Find , so applying Bayes' theorem and the is the probability of getting a positive test result when you either have a TP or FP which is . Thus So there is a 50% chance of having the disease if tested positive.
[[Bayes Theorem, the geometry of changing beliefs]]